﻿using FluentNHibernate.Mapping;

namespace ControleRepresentante.Logic.Models.Maps
{
    public class UsuariosHolderMap : SubclassMap<UsuariosHolder>
    {
        public UsuariosHolderMap()
        {
            HasManyToMany(x => x.Users)
                .Access.PascalCaseField(Prefix.mUnderscore)
                .Cascade.None()
                .Inverse();
        }
    }
}